/**
 * Created by Administrator on 2025/5/7.
 * */
#include "MyDeviceWriter_2.h"

BaseObject *createMyDeviceWriter_2() {
    return new MyDeviceWriter_2();
}

void destroyMyDeviceWriter_2(BaseObject *p) {
    SAFE_DELETE(p);
}

MyDeviceWriter_2::~MyDeviceWriter_2() {
}

int64_t MyDeviceWriter_2::onWrite(char *buffer, int64_t len) {
    /** write code here. */

return len;
}
